package com.imooc.girl.repository;

import com.imooc.girl.domain.AddGrade;
import com.imooc.girl.domain.GetAddGrade;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface AddGradeRepository extends JpaRepository<AddGrade,Integer>,JpaSpecificationExecutor<AddGrade> {
    List<GetAddGrade> findByAddGradesId(Integer addGradesId);
}
